<?php if ($this->editLinkVisible === TRUE): ?>
<a href="<?php echo $this->editInfoUrl; ?>">Edit Profile</a>
<a href="<?php echo $this->editAvatarUrl; ?>">Edit Avatar</a>
<?php endif; ?>
<?php if (is_array($this->profileData)): ?>
<table>
  <tbody>
<?php foreach ($this->profileData as $pfKey => $pfValue): ?>
    <tr><td class="profile-key contrast_l"><?php echo $pfKey; ?>:</td><td class="profile-value"><?php echo $pfValue; ?></td></tr>
<?php endforeach; ?>
  </tbody>
</table>
<?php endif; ?>